package ui;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.stage.Stage;

public class AboutWindow extends Application{
	
	private Stage stage;
	
	
	
	@Override
	public void start(Stage primaryStage) throws Exception {
		//stage = primaryStage;
		primaryStage.setTitle("About");
		
		StringBuilder builder = new StringBuilder();
		builder.append("\n\nBoersenSpiel der HSA\n\n");
		builder.append("Das Spiel entstand im Rahmen des Studium der Informatik im 2. Semester 2014\n\n\n");
		builder.append("Entwickler: Martin B.  Rusmin S.");
		
		Text text = new Text(builder.toString());
		text.setFont(Font.font("Verdena",15));
		text.setFill(Color.PERU);
		Scene scene = new Scene(new VBox(),550,200);
		((VBox) scene.getRoot()).getChildren().add(text);
		primaryStage.setScene(scene);
		primaryStage.show();
		
		
	}

}
